#ifndef UNITS_H
#define UNITS_H

#ifdef __cplusplus  
extern "C" {  
#endif  

char *format_binary(long double);
char *format_metric(long double);
char *format_time_us(long double);
char *format_time_s(long double);

int scan_metric(char *, uint64_t *);
int scan_time(char *, uint64_t *);

#ifdef __cplusplus  
}
#endif  

#endif /* UNITS_H */
